@import "base/base";

//Head Part
$headerColor : #1F202A;
$headerActiveColor : #FFA017;
$headerActiveBackColor : $headerColor;
$headerBorderColor : $headerColor;
$headerHeight : 60px;
$headerXSHeight : 50px;
html,body{
    height: 100%;
}
body{
    background-color: $bodyBackgroundColor;
}
header.navbar-mynav{
    background-color: $headerColor !important;
    border-color: $headerBorderColor !important;
    height: $headerHeight;
    @media screen and (max-width: $screen-sm){
        height: $headerXSHeight;
    }
}
button.navbar-toggle{
    margin-top: 8px;
    >.icon-bar{
        background-color: $headerActiveColor !important;
    }
}
.navbar-brand{
    color: black !important;
    padding: 8px 0;
    height: $headerHeight;
    @media screen and (max-width: $screen-sm){
        height: $headerXSHeight;
        margin-left: 10px;
    }
    img{
        width: auto;
        height: 98%;
        
    }
}

.navbar-nav{
    margin-top: 0;
    @media (min-width: 768px){
        
        float: right ;
    }
    background-color: $headerActiveBackColor !important;
    >li{
        padding: 8px 15px 0 0 ;
        font-size: 0.9em;
        font-weight: bold;
        >a{
            height: 40px ;
            color: #777 !important;
        }
    }
    >.active>a{
        background-color: $headerActiveBackColor !important;
        color: $headerActiveColor !important;
        border-bottom: 2px solid $headerActiveColor;
    }
}

//Body Part
div.myBody{
    width: 100%;
    margin-top: $headerHeight;
    @media screen and (max-width: $screen-sm){
        margin-top: $headerXSHeight;
    }
}

//Footer Part

div.bottombar{
    background-image: url(../img/bottombar.png);
    width: 100%;
    height: 20px;
}
footer{
    height: 250px;
    text-align: center;
    div.footerBarCodeArea{
        height: 200px;
        background-color: #202123;
        
        >div.logo{
            margin-top: 60px;
            position: relative;
            height: 50px;
            border-right: 1px solid #777;
            .footerLogo{
                position: absolute;
                right: 30px;
                width: auto;
                height: 50px;
            }
            @media screen and (max-width: $screen-sm){
                margin-top: 10px;
                text-align: center;
                .footerLogo{
                    position: relative;
                    right: 0;
                }
            }
        }
        
        .barcode{
            text-align: left;
            margin-top: 40px;
            >div{
                margin-left: 10px;
                float: left;
                width: 100px;
                color: #777;
                font-size: 0.9em;
                text-align: center;
                > img{
                    width: 90px;
                    height: 90px;
                }
                p{
                    padding-top: 10px;
                }
            }
            @media screen and (max-width: $screen-sm){
                margin-top: 10px;
                >div{
                    margin-left: 0px;
                    width: 100%;
                    float: none;
                }
            }
        } 
        
        
    }
    div.footerCopyRight{
        height: 50px;
        background-color: #232323;
        font-size: 12px;
        color: #777 ;
        line-height: 50px;
    }
    
}

@include keyframes(rotate360){
    100% { @include transform(rotate(360deg));}
}

div#loadingBar{
    position: fixed;
    z-index: 99999;
    width: 80px;
    height: 50px;
    margin: auto;
    top: 0; left: 0; bottom: 0; right: 0;
    text-align: center;
    color: red;
    span{
        display: block;
    }
    span.glyphicon{
        font-size: 50px;
        @include animation(rotate360 2s infinite linear);
    }
    span.text{
        font-size: 1.1em;
        margin-top: 10px;
    }
}


#scrollUp {
    background-image: url("../img/backtop.png");
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
}
#scrollUp:hover {
    background-image: url("../img/backtop-pre.png");
}